{% for task in tasks %}
	<div class="project_detail_date">
		<img src="/appmedia/yes.gif">
		<a href="/task/edit/{{task.id}}">
		{% if task.task_date %}
			{{ task.task_date }} - 
		{% endif %}	
		
		{{task.name|escape}}
		({{task.time_spent|floatformat:1}} h)
		</a>
	</div>
	
	{% if task.text %}
	<div class="project_detail_text">
		{{task.text|escape|linebreaks}}
	</div>
	{% endif %}
{% endfor %}